.searchFormContainer {
  background: var(--bg-primary);
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s;
}

:global(.dark) .searchFormContainer {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 表单内容区域 */
.searchFormBody {
  padding: 16px 16px 8px;
}

/* 底部操作栏 */
.searchFormFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid transparent;
}

/* 左侧 - 折叠控制 */
.footerLeft {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

/* 激活数量 */
.activeCount {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
}

/* 右侧 - 操作按钮 */
.footerRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 表单项样式优化 */
.searchFormBody :global(.ant-form-item) {
  margin-bottom: 16px;
}

.searchFormBody :global(.ant-form-item-label) {
  padding-bottom: 4px;
}

.searchFormBody :global(.ant-form-item-label > label) {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  height: 20px;
}

/* 输入框样式 */
.searchFormBody :global(.ant-input),
.searchFormBody :global(.ant-input-number),
.searchFormBody :global(.ant-select-selector),
.searchFormBody :global(.ant-picker) {
  border-radius: 6px;
}

/* 按钮样式 */
.footerRight :global(.ant-btn) {
  border-radius: 6px;
  font-weight: 500;
  height: 28px;
  padding: 0 12px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footerRight :global(.ant-btn-sm) {
  height: 28px;
  padding: 0 12px;
  font-size: 13px;
}

.footerRight :global(.ant-btn-primary) {
  box-shadow: none;
}

.footerRight :global(.ant-btn-primary:hover) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.3);
}

.footerRight :global(.ant-btn:not(.ant-btn-primary):hover) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
